﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using University.Workshop.Model;
using University.Workshop.Business;

[assembly: CLSCompliant(true)]
namespace University.Workshop.Presenters
{
    public class PresenterSearchConsultation
    {
        ISearchConsultation view;

        public PresenterSearchConsultation(ISearchConsultation view)
        {
            this.view = view;
        }

        public ICollection<Consultation> SearchConsultation()
        {
            return ConsultationManager.SearchConsultation(view.PatientId);
        }
    }
}
